package gupao.design.factory.abstractfactory;

/**
 * @author: liuchenhui
 * @create: 2019-04-14 15:07
 **/
public class AbstractFactoryTest {
    public static void main(String[] args) {
        IFactory factory = new JavaFactory();
        factory.createCourse().record();
        factory.ceateVideo().make();
        factory.createNote().edit();

        factory = new PythonFactory();
        factory.createCourse().record();
        factory.ceateVideo().make();
        factory.createNote().edit();
    }
}
